package com.zcc.makingfriend.dao;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * @author zcc
 */
@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String uuid;
    private String username;
    private String avatar;
    private String email;
    private Integer status;
    private LocalDateTime created;
    private String tel;
    private String title;

    public User() {
    }

    public User(Long id, String uuid, String username, String avatar, String email, Integer status, LocalDateTime created, String tel, String title) {
        this.id = id;
        this.uuid = uuid;
        this.username = username;
        this.avatar = avatar;
        this.email = email;
        this.status = status;
        this.created = created;
        this.tel = tel;
        this.title = title;
    }
}
